<?php
/**
 * 区域
 * User: guojing
 * Date: 2020/4/25
 * Time: 15:12
 */

namespace app\admin\model;

use think\Model;


class District extends Model
{
    // 表名
    protected $name = 'district';

    public static function findInfoByCondition($condition = [])
    {
        return self::where($condition)->find();
    }

    public static function findListByCondition($condition = [])
    {
        return self::where($condition)->select();
    }

}